<?php if(!defined('IN_UCHOME')) exit('Access Denied');?><?php subtplcheck('site/tpl/spot_view|site/tpl/header|site/tpl/space_comment_li|site/tpl/footer', '1262572050', 'site/tpl/spot_view');?>﻿<?php $_TPL['titles'] = array(getstr($pic['title'], 60, 0, 0, 0, 0, -1),$title_nav, $title_nav1,$mtag['tagname']); ?>
<?php if(empty($_SGLOBAL['inajax'])) { ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=<?=$_SC['charset']?>" />
<meta http-equiv="x-ua-compatible" content="ie=7" />
<title><?php if($_TPL['titles']) { ?><?php if(is_array($_TPL['titles'])) { foreach($_TPL['titles'] as $value) { ?><?php if($value) { ?><?=$value?> - <?php } ?><?php } } ?><?php } ?><?=$_SCONFIG['sitename']?></title>

<script language="javascript" type="text/javascript" src="public/js/jquery.1.3.2.min.js"></script>
<script language="javascript" type="text/javascript" src="public/js/effects.core.js"></script>
<script language="javascript" type="text/javascript" src="public/js/jquery.suggest15215.js"></script>
<script language="javascript" type="text/javascript" src="public/js/wtming21867.js"></script>
<script language="javascript" type="text/javascript" src="public/js/DragResize.js"></script>


<link rel="stylesheet" href="public/css/fancybox.css" type="text/css" media="screen">

<link type="text/css" rel="stylesheet" href="public/css/w-style.css"></link>
<link type="text/css" rel="stylesheet" href="public/css/style.css"></link>
<link type="text/css" rel="stylesheet" href="public/css/base-min.css"/>
<link rel="shortcut icon" href="public/images/favicon.ico" />

<link rel="edituri" type="application/rsd+xml" title="rsd" href="xmlrpc.php?rsd=<?=$_SGLOBAL['supe_uid']?>" />
</head>
<body class="graybody">

<div id="append_parent"></div>
<div id="ajaxwaitid"></div>

<div class="bigwapper">        
<div class="header">
  <div class="logo">
    <a href="index.php"><img src="public/img/index-4.gif" alt="<?=$_SCONFIG['sitename']?>"/></a>
  </div>

   <div class="nav">
   <div class="div">
<ul>
   		<?php if($_SGLOBAL['supe_uid']) { ?>
 <li ><a href="cp.php?ac=common&op=logout">退出</a></li>
  <li><a href="space.php?do=pm<?php if(!empty($_SGLOBAL['member']['newpm'])) { ?>&filter=newpm<?php } ?>">消息<?php if(!empty($_SGLOBAL['member']['newpm'])) { ?>(新)<?php } ?></a></li>	 
  <li><a href="space.php?do=friend">好友</a></li>
  <li ><a href="space.php?do=home">个人首页</a></li>
 <li class="first"><a href="space.php?uid=<?=$_SGLOBAL['supe_uid']?>"><?=$_SN[$_SGLOBAL['supe_uid']]?></a>
<?php if($_SN[$_SGLOBAL['supe_uid']]!=$_SGLOBAL['username']) { ?><a href="space.php?uid=<?=$_SGLOBAL['supe_uid']?>"><?=$_SGLOBAL['supe_username']?></a><?php } ?></li>
<?php } else { ?>

<li ><a href="do.php?ac=<?=$_SCONFIG['login_action']?>">登录</a></li>
            <li class="first"><span style="color:#F15525;">欢迎您</span>&nbsp;&nbsp;<a href="do.php?ac=<?=$_SCONFIG['register_action']?>">注册</a></li>
<?php } ?>
            </div>
      </div>


      <div class="search">
        <form action="site.php?ac=profile&op=search" method="get">
<span class="blue_window">	<input type="text" id="page_focus" class="h_input" size="30" value="" name="key" /> </span>
<input type="hidden" name="ac" value="profile" />
<input type="hidden" name="op" value="search" />
<input type="hidden" name="searchmode" value="1" />
<input type="hidden" value="true" name="searchsubmit" />
            <button type="submit"><span class="blind">搜索</span></button>
</form>
  </div>

<style>
#nav {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
background:transparent url(public/images/navbg.gif) repeat-x scroll 0 0;
height:42px;
margin:0 auto;
width:970px;
font-size:14px;
font-size-adjust:none;
font-stretch:normal;
font-style:normal;
font-variant:normal;
font-weight:bold;
}
#nav span {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
background:transparent url(public/images/bg.gif) no-repeat scroll 0 0;
display:block;
float:left;
height:42px;
width:8px;
}
#nav li {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
background:transparent url(public/images/navbg1.gif) no-repeat scroll right 50%;
padding:0 5px;
position:relative;
}
#nav ul, #nav li {
color:#FFFFFF;
float:left;
height:42px;
line-height:42px;
}

#nav li a:hover, #nav li a.current {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
background:transparent url(public/images/bg.gif) no-repeat scroll 0 -86px;
color:#000000;
text-decoration:none;
}
#nav li a {
font-size:16px;
font-size-adjust:none;
font-stretch:normal;
font-style:normal;
font-variant:normal;
font-weight:bold;
color:#FFFFFF;
display:block;
line-height:50px;
text-align:center;
text-decoration:none;
width:94px;
}
#nav span.r {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
background:transparent url(public/images/bg.gif) no-repeat scroll -10px 0;
float:right;
}
#nav li.noborder {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
background:transparent none repeat scroll 0 0;
}

</style>
<div class="clearfix" id="nav">
  <span> </span>
    <ul>
     
      <li >
      <a href="index.php" <?php if($li_name=='index') { ?>class="current"<?php } ?>>首页</a></li>
      <li ><a href="site.php?ac=show&fid=4" <?php if($li_name=='star') { ?> class="current"<?php } ?>>明星</a></li>
      <li ><a href="site.php?ac=show&fid=67" <?php if($li_name=='product') { ?> class="current"<?php } ?>>时尚品</a></li>
      <li ><a href="site.php?ac=show&fid=66" <?php if($li_name=='brand') { ?>class="current"<?php } ?>>品牌</a></li>
      <li class="noborder"><a href="site.php?ac=hot" <?php if($li_name=='hot') { ?>  class="current"<?php } ?>>正流行</a></li>

    </ul>
    <span class="r"> </span>
</div>
  
  </div>

<div class="wapper main clearfix">

  

<?php } ?>

<script type="text/javascript">
  j$ = jQuery.noConflict();  	
  var tick = 0;
  function update_announce() {
    if (!tick) {
      j$('#announce_form').show();
      tick = 1;
    } else {
      tick = 0;
      j$('#announce_form').hide();
    }
  }

   j$(function() {
      var hl=j$(".pic_link_list li.prof_avatar");
      hl.mouseover(function() {
j$(this).addClass('proover');
            return false;
        });
    hl.mouseout(function() {
    j$(this).removeClass("proover");
    return false;
   });
    });

</script>
<h1 class="clearfix line"><a href="site.php?ac=show&fid=<?=$mtag['fieldid']?>" class="h1brand"><span><?=$nav_name?></span></a>
<a href="site.php?ac=profile&amp;op=index&amp;profid=<?=$mtag['tagid']?>"><?=$mtag['tagname']?></a> / 
<?php if($type=='spot') { ?>
<a href="site.php?ac=profile&op=spot&amp;profid=<?=$mtag['tagid']?>">时尚发现 </a> /
<a href="site.php?ac=profile&op=spot&amp;profid=<?=$mtag['tagid']?>&amp;fid=<?=$mtag1['fieldid']?>"><?=$at_nav_cate?>  </a> + 
<a href="site.php?ac=profile&amp;op=index&amp;profid=<?=$mtag1['tagid']?>"><?=$mtag1['tagname']?> </a>
<?php } else { ?>
<a href="site.php?ac=image&type=<?=$type?>&id=<?=$id?>&op=list">图片 </a> 
<?php } ?>
/ <?=$pic['title']?>


</h1>



<div class="left">
<div class="h_sub_status">
<div class="r_option">
<a href="site.php?ac=action&op=report&idtype=picid&id=<?=$pic['picid']?>" id="a_report" class="j a_add_report" >举报</a><span class="pipe">|</span>
<a href="#" class="j a_upload_btn" name="<?=$type?>-<?=$id?>">添加新照片</a>
</div>
<?php if($pcount) { ?>当前第 <?=$sequence?> 张<span class="pipe">|</span>
<?php if($sequence != 1) { ?>
<a href="site.php?ac=image&type=<?=$type?>&id=<?=$id?>&picid=<?=$picid?>&goto=up">上一张</a>
<?php } else { ?>
上一张
<?php } ?>
<span class="pipe">|</span>
<?php if($sequence != $pcount) { ?>
<a href="site.php?ac=image&type=<?=$type?>&id=<?=$id?>&picid=<?=$picid?>&goto=down" id="nextlink">下一张</a>
<?php } else { ?>
下一张
<?php } ?>
<span class="pipe">|</span>
<a href="site.php?ac=image&type=<?=$type?>&id=<?=$id?>&op=list">共 <?=$pcount?> 张图片</a>
<?php } ?>
</div>
        
<div class="block block_albumimage">
    <div class="content clearfix">
 <?php if(($pic['pic'])) { ?>
             <dl>

<dt class="imagedt">
        	<?php if($sequence != $pcount) { ?>
          <a href="site.php?ac=image&type=<?=$type?>&id=<?=$id?>&picid=<?=$picid?>&goto=down" id="nextlink"><img src="<?=$pic['pic']?>" /></a>      
          <?php } else { ?>
          <img src="<?=$pic['pic']?>" />      
          <?php } ?>
<?php if($_GET['type']=='profile') { ?>
<?php $from ='fromprof'; ?>
<?php } elseif($_GET['type']=='spot') { ?>
<?php $from ='fromspot'; ?>
<?php } ?>

</dt>

        <dd>
        <p><span class="imageuser">上传于 <?php echo sgmdate('Y-m-d H:i',$pic[dateline]); ?> </span>
            <?=$pic['title']?></p>
       <?php if($pic['uid']==$_SGLOBAL['supe_uid']) { ?><p><a style="color:#fff;" href="javascript:;" onclick="update_title();">更新图片说明</a></p><?php } ?>
<div id="title_form"  style="display:none;text-align:left;">
<form id="titleform" class="j a_update_pic_title" name="titleform" action="site.php?ac=image&op=editpic" method="post">
<textarea name="title[<?=$pic['picid']?>]" cols="70" rows="3" style="width: 380px"><?=$pic['title']?></textarea>
<br><input type="submit" name="editpicsubmit" class="submit" value="更新">
<input type="hidden" name="formhash" value="<?php echo formhash(); ?>" />
</form>
</div>
        <div class="getrm hide" style="display: block;">
<div class="block_rm clearfix">

<?php if(!$_SGLOBAL['supe_uid']) { ?>
        <div class="arrow"/>
<dl>
<dt>想给ta留言？请先<a href="" class="j a_show_login innerlink">登录</a>或<a href="do.php?ac=<?=$_SCONFIG['register_action']?>" class="innerlink">注册</a><span style="color: rgb(153, 153, 153);">(不超过24秒)</span>
</dt>
</dl>
<?php } else { ?>
 <div id="commentlist" class="block_reviewreply">
<?php if($cid) { ?>
<div class="notice">
当前只显示与你操作相关的单个评论，<a href="site.php?ac=profile&op=index&profid=<?=$profid?>#comment">点击此处查看全部评论</a>
</div>
<?php } ?>			
<ul id="comment_ul">
<?php if(is_array($list)) { foreach($list as $value) { ?>
<?php if(empty($ajax_edit)) { ?><li id="comment_<?=$value['cid']?>_li" class="clearfix"><?php } ?>

    <div class="user">
        <div class="image_box"><a href="space.php?uid=<?=$value['authorid']?>"><img width="60" alt="<?=$_SN[$value['authorid']]?>" src="<?php echo avatar($value[authorid],small); ?>"/></a></div>
    </div>
    <div class="content"> 
      <div class="r_option">
<?php if($value['authorid']==$_SGLOBAL['supe_uid']) { ?>
      <a href="" name="site.php?ac=comment&op=edit&cid=<?=$value['cid']?>" class="j a_modify_reply"  id="c_<?=$value['cid']?>_edit">编辑</a>
      <a href="" class="j a_umodify_reply"  id="c_<?=$value['cid']?>_unedit" style="display:none;">取消编辑</a>
<?php } ?>
<?php if($value['authorid']==$_SGLOBAL['supe_uid'] || $value['uid']==$_SGLOBAL['supe_uid']) { ?>
<a href="" rel="nofollow" class="j a_del_reply" title="确定否？" name="site.php?ac=ajax&op=delreply&cid=<?=$value['cid']?>" id="c_<?=$value['cid']?>_delete" >删除</a>
<?php } ?>
  </div> 

      <div class="time"><?php echo sgmdate('Y-m-d H:i',$value[dateline],1); ?>
        <a href="space.php?uid=<?=$value['authorid']?>"><?=$_SN[$value['authorid']]?></a>
 </div>
<div id="comment_div_<?=$value['cid']?>"><?=$value['message']?></div>
    <div style="display: none; text-align: left;" id="modify_reply_<?=$value['cid']?>" class="brandintro hide"> 
     <form id="edit_commentform_<?=$value['cid']?>" class="j a_update_reply" name="edit_commentform_<?=$value['cid']?>" method="post" action="site.php?ac=comment&op=edit&cid=<?=$value['cid']?>">
<table>
<tr>
<td>
      <textarea id="message_<?=$value['cid']?>" name="message" cols="70" rows="8"><?php echo html2bbcode($value[message]); ?></textarea></td>
</tr>
<tr>
<td>
<input type="hidden" name="editsubmit" value="true" />
<input type="submit" name="editsubmit_btn" id="editsubmit_btn" value="提交" class="submit" />
</td>
</tr>
</table>
<input type="hidden" name="formhash" value="<?php echo formhash(); ?>" />
</form> 
</div>
    </div>
<?php if(empty($ajax_edit)) { ?></li><?php } ?>

<?php } } ?>
</ul>
</div>
<div class="page"><?=$multi?></div>
<form id="quickcommentform_<?=$picid?>" name="quickcommentform_<?=$picid?>" action="site.php?ac=comment" method="post" class="j a_add_reply quickpost" style="padding-bottom: 1em;">
<table cellpadding="0" cellspacing="0">
<tr>
<td>
<textarea id="comment_message" name="message" rows="5" cols="60" ></textarea>
</td>
</tr>
<tr>
<td>
<input type="hidden" name="refer" value="site.php?ac=image&type=<?=$type?>&id=<?=$id?>&picid=<?=$picid?>" />
<input type="hidden" name="id" value="<?=$picid?>">
<?php if($type=='profile') { ?>
<input type="hidden" name="idtype" value="ppicid">
<?php } else { ?>
<input type="hidden" name="idtype" value="spicid">
<?php } ?>
<input type="hidden" name="ext_id" value="<?=$id?>">
<input type="hidden" name="commentsubmit" value="true">
<input type="submit" id="commentsubmit_btn" name="commentsubmit_btn" class="submit" value="评论" />
<span id="comment_status"></span>
</td>
</tr>
</table>
<input type="hidden" name="formhash" value="<?php echo formhash(); ?>" />
</form>
 <?php } ?>    
</div>
</div>
    </dd>

        </dl>            
<?php } ?>
</div>
</div>



    </div>

<div class="right">

    <div class="block block_connectuser">
<h2 >图片中有...</h2>
    <ul class="pic_link_list">

      <?php if(is_array($pprofs)) { foreach($pprofs as $pp) { ?>
<li class="prof_avatar"><div class="avatar50"><a href="site.php?ac=profile&op=index&profid=<?=$pp['tagid']?>"><img class="avatar" src="<?=$pp['picurl']?>"/></a></div><div class="right_profile"><a href="site.php?ac=profile&op=index&profid=<?=$pp['tagid']?>"><?=$pp['tagname']?></a></div><div class="setti"></div>
      </li>
      <?php } } ?>
      <li><h5>看到新的档案 ?</h5>
<p><a href="#" class="j a_addprof_onpic new_profile" name="<?=$id?>-<?=$picid?>">添 加</a></p>
</li>
</ul>
</div>
    </div>





<?php if(empty($_SGLOBAL['inajax'])) { ?>

</div>

<!--/mainarea-->


<!--/main-->
<?php } ?>

       <div class="footer" title="<?php echo debuginfo(); ?>">
            <div class="footermain">
            <div class="footer_inner">
                <div class="company_info">
                  <div class="other_link">
                      <a class="fr" style="margin-right:10px"  href="javascript:;" onclick="window.scrollTo(0,0);" id="a_top" title="TOP"><img src="public/img/up.gif" /></a>
  <a href="" class="other_link01">沪ICP备09037050号</a>
                  </div>
                  <address class="address">
                    Copyright ©2009 wtming.com
                  </address>
                </div>
              </div>
            </div>
        </div>
<!--/wrap-->

<?php if(count($_SGLOBAL['debug_query'])) { ?>
<div>
<ul>
<?php if(is_array($_SGLOBAL['debug_query'])) { foreach($_SGLOBAL['debug_query'] as $k => $v) { ?>
<li><?=$k?> --> <?=$v['sql']?> </li>
<?php } } ?>
</ul>
</div>
<?php } ?>

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-112862-2");
pageTracker._trackPageview();
} catch(err) {}</script>


</div>
</body>
</html>

<?php ob_out();?>